#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main ()
{
    double x[10][10];
    int row,column;
    long result;
    printf("Please enter the row and column :\n");
    scanf("%d" "%d", &row, &column);
    double *p1 , *p2;
    p1 = &x[0][0];
    p2 = &x[row-1][column-1];
    result = (p2-p1)*sizeof(x[0][0]);
    printf("the offset bytes are : %ld",result);
    return 0;
}